<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>欢迎访问产品运营互动中心！</title>
<link rel="stylesheet" href="<s:url value="/css/style_new.css"/>">
<link href="<s:url value="/images/08_ccxxzx.css"/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<s:url value="/script/sysOper.js"/>"></script>
<script type="text/javascript" src="<s:url value="/script/selfResize.js"/>"></script>
<script>
function show(url){
	window.open(url);
}
function initLoad(){
	f_iframeResize();
}
window.onload = initLoad;

</script>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<s:form action="/bpm/queryProdAdvReqForm.action" method="post">
<table width="980" border="0" cellspacing="0" cellpadding="0" align="center">
		<tr>
			<td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0"
				background="<s:url value="/images/new/gxzl_index_2.gif"/>">
				<tr>
					<td width="20" height="32">&nbsp;</td>
					<td width="20"><img
						src="<s:url value="/images/new/dq_dot.gif"/>" width="15"
						height="12" /></td>
					<td>当前位置：需求单报表</td>
					<td width="60"></td>
					<td width="200"></td>
					<td width="100"></td>
				</tr>
			</table>
			</td>
		</tr>
  <tr> 
    <td  background="<s:url value="/images/home_4a.gif"/>"> 
      <table width="100%" height="400" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFFFFF">
        <tr>

          <td valign="top">
					<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0" >
						<br/>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab1.gif"/>" width="5" height="5" /></td>
										<td class="tdborderup"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab2.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td  class="tdborderleftright">
								
			                <TABLE width="98%" border="0" cellspacing="0" cellpadding="0" align="center" class=tablecolor2>
			                  <tr> 
			                    <td width="14%" height="50"> 
			                      <div align="center">需求名称</div></td>
			                    <td width="35%"><input name="conds['businessRequest.name']" type="text" value="${conds.contractName}" size="30"/></td>
			                    <td width="14%" height="50"> 
			                      <div align="center">所属流程</div></td>
			                    <td width="35%">
			                    	<s:set name="reftype" value="conds['procTranRecord.processConfig']" /> 
			                    		<select name="conds['procTranRecord.processConfig']">
												<s:iterator id="processConfig" value="processConfigs">
													<option value="<s:property value="id"/>"
													<s:if test="#processConfig.id==#reftype">selected</s:if>>
														<s:property value="name" />
													</option>
												</s:iterator>
															</select>
			                    </td>
			                  </tr>
											</TABLE>
								
								
							<TABLE width="98%" cellSpacing=1 cellPadding=0 align="center">
								<TR height=30>
									<TD align=left width="10%">
				             <input type="submit" name="new" value="查 询">
				             <input type="button" name="excel" value="导出Excel" onClick="location.href='excelReqForm.action'">
									</TD>
								</TR>
							</table>
							<input type="hidden" name="pageControl.usePage" value="${pageControl.usePage}" />
							<input type="hidden" name="pageControl.pageNo" value="${pageControl.pageNo}" /> 
							<input type="hidden" name="pageControl.totalPage" value="${pageControl.totalPage}" />
							<input type="hidden" name="pageControl.pageSize" value="${pageControl.pageSize}" />
							<table width="98%" border="0" cellspacing="0" cellpadding="7" align="center" class=tablecolor2>
								<tr>
									<td colspan="10" align="right"><s:if
										test="pageControl.useFrontPage">
										<a href="#"
											onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if> <s:if test="pageControl.useNextPage">
										<a href="#"
											onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if> 第${pageControl.pageNo}页 共${pageControl.totalPage}页
									总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
							</table>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td bgcolor="9AC2EB" width="*">
									<div align="center"><font color="#FFFFFF">需求名称</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">重要性</font>
									</div>
									<td bgcolor="9AC2EB" width="11%">
									<div align="center"><font color="#FFFFFF">需求类别</font>
									</div>
									</td>
									<td bgcolor="9AC2EB" width="11%">
									<div align="center"><font color="#FFFFFF">需求部门</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">需求发起人</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">产品部门</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">产品经理</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">提出时间</font></div>
									</td>
									<td bgcolor="9AC2EB" width="9%">
									<div align="center"><font color="#FFFFFF">关联产品</font></div>
									</td>
									<s:iterator value="processConfigDetails">
									<td bgcolor="9AC2EB">
										<div align="center"><font color="#FFFFFF"><s:property value="name" /></font></div>
									</td>
									</s:iterator>
								</tr>
							<s:iterator value="pageControl.results">
								<tr>                      
									<td>
										<div align="center"><s:property value="name" /></div>
									</td>
									<td>
										<div align="center"><s:property value="importance" /></div>
									</td>
									<td>
										<div align="center"><s:property value="type" /></div>
									</td>
									<td>
										<div align="center"><s:property value="startDept" />startDept</div>startDept
									</td>
									<td>
										<div align="center"><s:property value="startPerson" /></div>
									</td>
									<td>
										<div align="center"><s:property value="prodDept.name" /></div>
									</td>
									<td>
										<div align="center"><s:property value="prodPerson.name" /></div>
									</td>
									<td>
										<div align="center"><s:date name="advanTime" format="yyyy-MM-dd"/></div>
									</td>
									<td>
										<div align="center"><s:property value="" /></div>
									</td>
									<s:if test="processConfigDetails!=null">
									<td colspan="${num}">
										<div align="left" width="96%">
										<img src='<s:url value="/images/new/jiantou.gif"/>'width="${percent}%" height="20"/><br/>
									<s:property value="currUser" />:<br/>
							<s:iterator value="reqProgresses" status="rp">
								<s:property value="#rp.getIndex()+1"/>.<s:property value="reqProg"/>
								&nbsp;完成<s:property value="percent"/>%
								【<s:date name="createTime" format="yyyy\MM\dd"/>】。<br/>
							</s:iterator>
								</div>
									</td>
									</s:if>
									
									
								</tr>
							</s:iterator>
							</table>
							<table width="98%" border="0" cellspacing="0" cellpadding="7"
								align="center" class=tablecolor2>
								<tr>
									<td colspan="10" align="right"><s:if
										test="pageControl.useFrontPage">
										<a href="#"
											onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo-1};submit();">上一页</a>
									</s:if> <s:if test="pageControl.useNextPage">
										<a href="#"
											onclick="document.all('pageControl.pageNo').value=${pageControl.pageNo+1};submit();">下一页</a>
									</s:if> 第${pageControl.pageNo}页 共${pageControl.totalPage}页
									总${pageControl.total}条记录 每页${pageControl.pageSize}条记录</td>
								</tr>
							</table>
							
							<!--div name="div1" id="div1" style="display:none;position:absolute;top:150px; left:180px; z-index:4">
							<table width="98%" border="0" cellspacing="0" cellpadding="7" align="center" class=tablecolor2>
								<tr>
									<td bgcolor="9AC2EB">
										<div align="center"><font color="#FFFFFF">需求名称</font></div>
									</td>
									<s:iterator value="processConfigDetails">
									<td bgcolor="9AC2EB">
										<div align="center"><font color="#FFFFFF"><s:property value="name" /></font></div>
									</td>
									</s:iterator>
									<td>
										<div align="center"><font color="#FFFFFF">
											<a href="javascript:void(0);" onclick="document.all['div1'].style.display='none';">关闭</a>
										</font></div>
									</td>
								</tr>
							<s:iterator value="pageControl.results">
								<tr>
									<td>
										<div align="center"><s:property value="name" /></div>
									</td>
									<s:iterator value="display">
									<td>
										<s:if test="id==1">
											<img src='<s:url value="/images/new/gj_greena.gif"/>'/>
										</s:if>
									</td>
									</s:iterator>
								</tr>
							</s:iterator>
							</table>
							</div-->
							
							
							</td>
						</tr>
						<tr>
							<td height="5">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="5" height="5"><img src="<s:url value="/images/cphdzx_tab3.gif"/>" width="5" height="5" /></td>
										<td class="tdborderbottom"><img src="<s:url value="/images/spacer.gif"/>" width="1" height="1" /></td>
										<td width="5"><img src="<s:url value="/images/cphdzx_tab4.gif"/>" width="5" height="5" /></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</s:form> 
</body>
</html>
